package com.ruoyi.system.mapper;

import java.util.List;
import com.ruoyi.system.domain.SysQuarterlyCategory;
import com.ruoyi.system.domain.vo.SysQuarterlyCategoryVo;

/**
 * 季刊类别Mapper接口
 * 
 * @author ruoyi
 * @date 2022-03-29
 */
public interface SysQuarterlyCategoryMapper 
{
    /**
     * 查询季刊类别
     * 
     * @param categoryId 季刊类别主键
     * @return 季刊类别
     */
    public SysQuarterlyCategory selectSysQuarterlyCategoryByCategoryId(Long categoryId);

    /**
     * 查询季刊类别列表
     * 
     * @param sysQuarterlyCategory 季刊类别
     * @return 季刊类别集合
     */
    public List<SysQuarterlyCategoryVo> selectSysQuarterlyCategoryList(SysQuarterlyCategory sysQuarterlyCategory);

    /**
     * 新增季刊类别
     * 
     * @param sysQuarterlyCategory 季刊类别
     * @return 结果
     */
    public int insertSysQuarterlyCategory(SysQuarterlyCategory sysQuarterlyCategory);

    /**
     * 修改季刊类别
     * 
     * @param sysQuarterlyCategory 季刊类别
     * @return 结果
     */
    public int updateSysQuarterlyCategory(SysQuarterlyCategory sysQuarterlyCategory);

    /**
     * 删除季刊类别
     * 
     * @param categoryId 季刊类别主键
     * @return 结果
     */
    public int deleteSysQuarterlyCategoryByCategoryId(Long categoryId);

    /**
     * 批量删除季刊类别
     * 
     * @param categoryIds 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteSysQuarterlyCategoryByCategoryIds(Long[] categoryIds);
}
